/*
 * Copyright 2014 Semidata. All rights reserved.
 */
package com.semidata.trp.report.data;

/**
 * @author shewei@semidata.com, She Wei
 * 
 */
public class UserReport {

	private int impression;
	private int click;
	private int cost;

	public UserReport() {

	}

	public UserReport(int impression, int click, int cost) {
		this.impression = impression;
		this.click = click;
		this.cost = cost;
	}

	public int getImpression() {
		return impression;
	}

	public void setImpression(int impression) {
		this.impression = impression;
	}

	public int getClick() {
		return click;
	}

	public void setClick(int click) {
		this.click = click;
	}

	public int getCost() {
		return cost;
	}

	public void setCost(int cost) {
		this.cost = cost;
	}

	public void merge(UserReport report) {
		impression += report.impression;
		click += report.click;
		cost += report.cost;
	}

}
